package com.rc.saas.mini.model.market;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-07-21
 */

@ApiModel(value=" market_activity ", description=" 营销活动 ")
public class MarketActivity extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long marketActivityId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "活动类型 0 新用户注册优惠 1 充值送活动默认 2领取活动 3满减 4满返 5拉新  默认1充值")
    private String activityType;
 
    @ApiModelProperty(value = "活动名称")
    private String activityName;
 
    @ApiModelProperty(value = "优惠券ID,关联tenant_ticket_type表")
    private Long ticketTypeId;
 
    @ApiModelProperty(value = "单次赠送数量")
    private Integer sendCount;
 
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
 
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    @ApiModelProperty(value = "赠送对象 0 新用户 1邀请者 2普通用户 3企业用户 4全部 默认4")
    private String sendType;
 
    @ApiModelProperty(value = "奖励类型 0 赠送优惠券 1 消费返利 2充值送优惠券 3充值送现金 4充值减免 5充值送优惠券+充值减免默认 0 ")
    private String rewardType;
 
    @ApiModelProperty(value = "同个用户最多享受优惠次数")
    private Integer maxDiscountCount;
 
    @ApiModelProperty(value = "活动进行的最大次数")
    private Integer maxActivityCount;
 
    @ApiModelProperty(value = "注册成功提示")
    private String registerPrompt;
 
    @ApiModelProperty(value = "活动规则描述(活动内容)")
    private String remark;
 
    @ApiModelProperty(value = "送券成功时提示")
    private String sendPrompt;
 
    @ApiModelProperty(value = "活动状态(0,未开始，1进行中 2已暂停 3已结束)")
    private String status;
 
    @ApiModelProperty(value = "支付宝 0 关闭 1开启")
    private Integer aliPay;
 
    @ApiModelProperty(value = "wx 0 关闭 1开启")
    private Integer wxPay;
 
    @ApiModelProperty(value = "银联 0 关闭 1开启")
    private Integer unPay;
 
    @ApiModelProperty(value = "农行 0 关闭 1开启")
    private Integer abcPay;
 
    @ApiModelProperty(value = "app是否支持0 关闭，1开启")
    private Integer isApp;
 
    @ApiModelProperty(value = "微信公众号是否支持 0关闭，1开启")
    private Integer isWx;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "活动范围(0全部 1部分 默认0)")
    private String activityScope;
 
    @ApiModelProperty(value = "充电站id(范围-部分专用)")
    private String stationIds;
 
    @ApiModelProperty(value = "活动参与用户id,多选逗号,隔开")
    private String participateUser;
 
    @ApiModelProperty(value = "活动图片")
    private String activityImg;
 
    @ApiModelProperty(value = "活动位置(0:首页 1活动中心 默认0)")
    private String activityIndex;
 
    @ApiModelProperty(value = "活动链接")
    private String activityLink;
 
    @ApiModelProperty(value = "活动内容")
    private String content;
 
    @ApiModelProperty(value = "累充条件(0:活动期间内满足,1:一次性满足 默认0)")
    private String sumCondition;
 
    public Long getMarketActivityId() {
        return marketActivityId;
    }

    public void setMarketActivityId(Long marketActivityId) {
        this.marketActivityId = marketActivityId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Long getTicketTypeId() {
        return ticketTypeId;
    }

    public void setTicketTypeId(Long ticketTypeId) {
        this.ticketTypeId = ticketTypeId;
    }

    public Integer getSendCount() {
        return sendCount;
    }

    public void setSendCount(Integer sendCount) {
        this.sendCount = sendCount;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getRewardType() {
        return rewardType;
    }

    public void setRewardType(String rewardType) {
        this.rewardType = rewardType;
    }

    public Integer getMaxDiscountCount() {
        return maxDiscountCount;
    }

    public void setMaxDiscountCount(Integer maxDiscountCount) {
        this.maxDiscountCount = maxDiscountCount;
    }

    public Integer getMaxActivityCount() {
        return maxActivityCount;
    }

    public void setMaxActivityCount(Integer maxActivityCount) {
        this.maxActivityCount = maxActivityCount;
    }

    public String getRegisterPrompt() {
        return registerPrompt;
    }

    public void setRegisterPrompt(String registerPrompt) {
        this.registerPrompt = registerPrompt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSendPrompt() {
        return sendPrompt;
    }

    public void setSendPrompt(String sendPrompt) {
        this.sendPrompt = sendPrompt;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getAliPay() {
        return aliPay;
    }

    public void setAliPay(Integer aliPay) {
        this.aliPay = aliPay;
    }

    public Integer getWxPay() {
        return wxPay;
    }

    public void setWxPay(Integer wxPay) {
        this.wxPay = wxPay;
    }

    public Integer getUnPay() {
        return unPay;
    }

    public void setUnPay(Integer unPay) {
        this.unPay = unPay;
    }

    public Integer getAbcPay() {
        return abcPay;
    }

    public void setAbcPay(Integer abcPay) {
        this.abcPay = abcPay;
    }

    public Integer getIsApp() {
        return isApp;
    }

    public void setIsApp(Integer isApp) {
        this.isApp = isApp;
    }

    public Integer getIsWx() {
        return isWx;
    }

    public void setIsWx(Integer isWx) {
        this.isWx = isWx;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getActivityScope() {
        return activityScope;
    }

    public void setActivityScope(String activityScope) {
        this.activityScope = activityScope;
    }

    public String getStationIds() {
        return stationIds;
    }

    public void setStationIds(String stationIds) {
        this.stationIds = stationIds;
    }

    public String getParticipateUser() {
        return participateUser;
    }

    public void setParticipateUser(String participateUser) {
        this.participateUser = participateUser;
    }

    public String getActivityImg() {
        return activityImg;
    }

    public void setActivityImg(String activityImg) {
        this.activityImg = activityImg;
    }

    public String getActivityIndex() {
        return activityIndex;
    }

    public void setActivityIndex(String activityIndex) {
        this.activityIndex = activityIndex;
    }

    public String getActivityLink() {
        return activityLink;
    }

    public void setActivityLink(String activityLink) {
        this.activityLink = activityLink;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSumCondition() {
        return sumCondition;
    }

    public void setSumCondition(String sumCondition) {
        this.sumCondition = sumCondition;
    }

}
